class OscProjectListEntity {
	List<OscProject> projectList;
	int count;//该类型下的软件数

	OscProjectListEntity({this.projectList, this.count});

	OscProjectListEntity.fromJson(Map<String, dynamic> json) {
		if (json['projectlist'] != null) {
			projectList = new List<OscProject>();(json['projectlist'] as List).forEach((v) { projectList.add(new OscProject.fromJson(v)); });
		}
		count = json['count'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.projectList != null) {
      data['projectlist'] =  this.projectList.map((v) => v.toJson()).toList();
    }
		data['count'] = this.count;
		return data;
	}
}

class OscProject {
	String name;
	String description;//软件描述
	String url;

	OscProject({this.name, this.description, this.url});

	OscProject.fromJson(Map<String, dynamic> json) {
		name = json['name'];
		description = json['description'];
		url = json['url'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['name'] = this.name;
		data['description'] = this.description;
		data['url'] = this.url;
		return data;
	}
}
